﻿
    using Entitas;

    public class CleanUpSystem : ICleanupSystem
    {
        private Contexts contexts;

        public CleanUpSystem (Contexts contexts)
        {
            this.contexts = contexts;
        }
        
        public void Cleanup ()
        {
            contexts.input.DestroyAllEntities ();
        }
    }
